import http from '@/api/http'
/**
 * 将业务所有接口统一起来便于维护
 * 如果项目很大可以将 url 独立成文件，接口分成不同的模块
 * 
 */

// export const appBind = () => {//签到
//     return http.post('/shop/shopDevice')
// }
export const getList = () => {//签到
    return http.post('/shop/shopShareList')
}
export const getWxpay = (data) => {//获取支付参数
    return http.post('/wechatpay/getOrderNumber',data)
}
export const applyPay = (data) => {//获取支付参数
    return http.post('/shop/apply_paid',data)
}
export const appBind = (data) => {
	return http.post('/shop/shopDevice',data)
}
// 获取用户已绑定设备信息
export const profile = (data) => {
    return http.post('/shop/profile',data)
}


// 获取用户已绑定设备信息
export const setDeposit = (data) => {
    return http.post('/shop/setDeposit',data)
}
// 默认全部导出  import api from '@/common/vmeitime-http/'
export default {
    appBind,
    profile,
	setDeposit,
	applyPay,
	getWxpay,
	getList
}